<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="rechnerBean" type="de.medieninf.webanw.RechnerBean" scope="session" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		String encodeUrl = response.encodeURL("/WUmrechner");
	%>
	<form action="<%=encodeUrl%>" method="get">
		<p>
			Grundwährung: <jsp:getProperty name="rechnerBean" property="waehrung1"/><br>
			<input name="grundwaehrung" type="text" size="30" maxlength="30"
				value="<jsp:getProperty name="rechnerBean" property="grundwaehrung" />">
		</p>
		<p>
			Zielwährung: <jsp:getProperty name="rechnerBean" property="waehrung2"/><br>
			<input name="zielwaehrung" type="text" size="30" maxlength="40"
				value="<jsp:getProperty name="rechnerBean" property="zielwaehrung" />">
		</p>
		<input type="submit" name="berechnen" value="berechnen"> <a
			href="<%=encodeUrl%>?seite=einstellung">einstellungen</a>
	</form>
</body>
</html>